package com.itheima.person.advice;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration//相当于xml
@ComponentScan("com.itheima.person")//扫包发现bean
@EnableAspectJAutoProxy//开启切面自动代理
public class SpringAocConfig {
}
